import request from '@/utils/request'

export function formList(params) {
  console.log()
  return request({
    url: 'goods',
    method: 'get',
    params
  })
}

// 删除商品
export function removeGoods(id) {
  return request({
    url: `goods/${id}`,
    method: 'DELETE'
  })
}
